<template>
    <h1>我的</h1>
</template>

<script>
    export default {
        name: "mine",
        created(){
            if(!window.localStorage.getItem('name')){
                this.$router.push({name:'login'})
            }

        },
    }
</script>

<style scoped>

</style>
